package com.qf.mapper;

import com.qf.pojo.UserPojo;

import java.util.List;

public interface UserMapper {
    //用户登陆
    public  UserPojo selectUserByuname(String uname);

    //用户的增加
    public void addUser(UserPojo userPojo);

    //用户的删除
    public void deleteUser(int uid);

    //用户的更新
    public void  updateUser(UserPojo userPojo);

    //用户的查询

    public List<UserPojo>  selectAllUser();

    UserPojo selectById(int uid);

}
